<!-- register form start -->
<div class="modal fade" id="regmodal" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document" style="width: 450px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <form class="form-horizontal" method="post" action="{:url('/index/login/register')}">
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <h3 class="form-control-static">极速注册</h3>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <input type="text" name="phone" id="mobilephone" class="form-control" placeholder="手机号">
                        </div>
                    </div>
                    <div class="col-sm-offset-1 col-sm-10 alert alert-danger" id="tips" style="display: none;"></div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <input type="password" name="password" class="form-control" placeholder="6~24位密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <input type="password" name="repass" class="form-control" placeholder="请输入确认密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-6">
                            <input type="password" class="form-control" placeholder="输入6位验证码">
                        </div>
                        <div class="col-sm-4">
                            <button type="button" class="btn btn-default pull-right">获取验证码</button>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <button type="submit" class="btn btn-block btn-black">注册</button>
                        </div>
                    </div>
                </form>
                <div class="col-sm-offset-1 col-sm-10">
                    <button class="btn btn-block btn-normal" data-dismiss="modal" aria-label="Close" data-toggle="modal" data-target="#loginmodal">已有账号，前往登录</button>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- register form end -->
<!-- login form begin -->
<div class="modal fade" id="loginmodal" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document" style="width: 450px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <form class="form-horizontal" method="post" action="{:url('/index/login/login')}">
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <h3 class="form-control-static">极速登录</h3>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <input type="text" name="username" class="form-control" placeholder="手机号/邮箱/用户名">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <input type="password" name="password" class="form-control" placeholder="6~24位密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-6">
                            <input type="text" name="code" class="form-control" placeholder="输入验证码">
                        </div>
                        <div class="col-sm-4" style="padding-left: 14px;">
                            <div><img id="code" src="{:url('login/verify')}" onclick="refreshverify()" alt="captcha" /></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-6">
                            <div class="checkbox">
                                <label style="line-height: 22px;">
                                    <input type="checkbox" name="chbox" ><small>两周内自动登录</small>
                                </label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <a href="#" class="pull-right" style="padding-top:10px;font-size: 12px;">忘记密码</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                            <button type="submit" class="btn btn-block btn-black">登 录</button>
                        </div>
                    </div>
                </form>
                <div class="col-sm-offset-1 col-md-10 third-box">
                    <div class="title"><span>第三方登录</span></div>
                    <div class="col-md-3">
                        <a href="#"><i class="icon-modal icon-login-qq"></i></a>
                    </div>
                    <div class="col-md-3">
                        <a href="#"><i class="icon-modal icon-login-wx"></i></a>
                    </div>
                    <div class="col-md-3">
                        <a href="#"><i class="icon-modal icon-login-wb"></i></a>
                    </div>
                    <div class="col-md-3">
                        <a href="#"><i class="icon-modal icon-login-zfb"></i></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- login form end -->